package com.yuqih.common.websocket.monitor;

public class MonitorQueueContent {
	
	private final MonitorAction action;
	private final Object body;

	/**
	 * @param action
	 * @param body
	 */
	public MonitorQueueContent(MonitorAction action, Object body) {
		super();
		this.action = action;
		this.body = body;
	}

	/**
	 * @return the action
	 */
	public MonitorAction getAction() {
		return action;
	}

	/**
	 * @return the body
	 */
	public Object getBody() {
		return body;
	}

}
